home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
comm
/
thor12.zip
/
THOR.LHA
/
rexx
/
packevents.thor
< prev
next >
Wrap
Text File
|
1994-03-03
|
1KB
|
42 lines
/*
** packevents.thor - will make a new event package to be uploaded to
** BBS. If the BBS given do not support event
** packages (like .REP files for QWK), this function
** will return without doing anything.
** If events like ReplyMsg or EnterMsg are added to
** a BBS with the ADDEVENT command, the use of this
** command *must* be used to make sure the event
** package is updated with the new messages!
**
** Will return 0 if the BBSNAME given was a correct name from the
** THOR database, and 10 if not. NOTE: If the event packer should fail
** for some reason, a requester with a descriptive error message will
** come up on the THOR screen. NO error code will be returned to the
** ARexx program if this should happen. The reason for this is that
** the user should be notified correctly what went wrong, which is not
** always possible from an ARexx program.
**
** Template:
**
** BBSNAME=BBS/A
**
*/
options results
address "THOR.01"
THORTOFRONT
/* Let's get the BBS first */
REQUESTLIST BBSLIST
if(rc ~= 0) then exit
/* Pack the events on this BBS */
PACKEVENTS '"'result'"'
exit